package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@Table(name = "doctor_group_patients")
public class DoctorGroupPatients implements Serializable {

	private static final long serialVersionUID = -8757641413294267852L;
	@Id
	@Column(name = "id_bigint", columnDefinition = "bigint(20)")
	private Long id;
	@Column(name = "gid_bigint", columnDefinition = "bigint(20)")
	private Long gid;
	@Column(name = "pid_bigint", columnDefinition = "bigint(20)")
	private Long pid;
}
